<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>shiro Demo</h1>
<p th:text="${shiroTest}"></p>
<a href="/modify/add">add</a> | <a href="/modify/drop">drop</a><br>
<a th:href="@{/logout}" th:if="${session.user!=null}">登出</a>
</body>
</html>